package com.leetcode.LC;

public class LC1672 {
    public int maximumWealth(int[][] accounts) {

        int max=0,tmp;
        for (int[] account : accounts) {
            tmp=0;
            for (int i : account) {
                tmp+=i;
            }
            max=Math.max(max,tmp);
        }
        return max;
    }
}
